package com.fqgj.sentry.biz.pc.vo.column;

import java.util.List;

/**
 * Created by zwh @yuntu-inc.com
 *
 * @description
 * @create 2017/7/29 0029 上午 11:51
 */
public class ColumnVo {
    /**
     * 字段id
     */
    private Long id;
    /**
     * 商户id
     */
    private Long merchantId;
    /**
     *事件类型 0:全部事件 1:非全部事件
     */
    private Integer eventType;
    /**
     *事件ids
     */
    private List<Long> eventIds;
    /**
     *字段名
     */
    private String columnCode;
    /**
     *显示名
     */
    private String displayName;
    /**
     *1:日期 2:小数 3:整数 4:字符串
     */
    private Integer dataType;
    /**
     * 1:系统字段(sys_)  2：自定义字段(loc_)  3:评分卡字段(grade_)  4:系统函数(fun_sys_)  5:自定义函数(fun_)
     */
    private Integer status;
    /**
     * 说明
     */
    private String info;

    private String moduleCode;

    private String moduleName;
    private Integer usedNum=0;

    public Integer getUsedNum() {
        return usedNum;
    }

    public ColumnVo setUsedNum(Integer usedNum) {
        this.usedNum = usedNum;
        return this;
    }

    public String getModuleName() {
        return moduleName;
    }

    public ColumnVo setModuleName(String moduleName) {
        this.moduleName = moduleName;
        return this;
    }

    public String getModuleCode() {
        return moduleCode;
    }

    public ColumnVo setModuleCode(String moduleCode) {
        this.moduleCode = moduleCode;
        return this;
    }

    public Long getId() {
        return id;
    }

    public ColumnVo setId(Long id) {
        this.id = id;
        return this;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public ColumnVo setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
        return this;
    }

    public Integer getEventType() {
        return eventType;
    }

    public ColumnVo setEventType(Integer eventType) {
        this.eventType = eventType;
        return this;
    }

    public List<Long> getEventIds() {
        return eventIds;
    }

    public ColumnVo setEventIds(List<Long> eventIds) {
        this.eventIds = eventIds;
        return this;
    }

    public String getColumnCode() {
        return columnCode;
    }

    public ColumnVo setColumnCode(String columnCode) {
        this.columnCode = columnCode;
        return this;
    }

    public String getDisplayName() {
        return displayName;
    }

    public ColumnVo setDisplayName(String displayName) {
        this.displayName = displayName;
        return this;
    }

    public Integer getDataType() {
        return dataType;
    }

    public ColumnVo setDataType(Integer dataType) {
        this.dataType = dataType;
        return this;
    }

    public Integer getStatus() {
        return status;
    }

    public ColumnVo setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public String getInfo() {
        return info;
    }

    public ColumnVo setInfo(String info) {
        this.info = info;
        return this;
    }
}
